package com.example.shoppingmallspringboot.service;

import com.example.shoppingmallspringboot.entity.UserAddress;
import com.example.shoppingmallspringboot.util.FwResult;

public interface UserAddressService {
    // 获取用户地址
    FwResult getUserAddress(Integer userId);
    
    // 用户新增以及修改地址
    FwResult updateUserAddress(UserAddress userAddress);
    
    // 用户删除地址
    FwResult deleteAddress(Integer id);
    
    // 用户修改默认地址
    FwResult modifyAddressIsDefault(UserAddress userAddress);
}
